/*
 *@Author: 张楚
 *@Date: 2022-02-10 11:26:57
 *@Description: 手写进度条
*/

import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class AppProgress extends StatefulWidget {
  const AppProgress({Key key}) : super(key: key);
  @override
  _AppProgressState createState() => _AppProgressState();
}

class _AppProgressState extends State<AppProgress> {
  @override
  Widget build(BuildContext context) {
//CustomWidgets.appBarWhite(context, '会议详情'),
    return Scaffold(
      appBar: AppBar(
        title: Text('手写进度条'),
      ),
      body: Column(
        children: [
          Container(
              padding: EdgeInsets.all(30),
              margin: EdgeInsets.all(10),
              height: 14.w,
              width: double.infinity,
              alignment: Alignment.centerLeft,
              clipBehavior: Clip.antiAlias,
              decoration: BoxDecoration(
                  color: Colors.amberAccent,
                  borderRadius: BorderRadius.circular(14.w)),
              child: FractionallySizedBox(
                widthFactor: 0.2,
                child: Container(
                  height: 14.w,
                  decoration: BoxDecoration(color: Colors.black),
                ),
              ))
        ],
      ),
    );
  }
}
